package com.jimmy.ioc.team;

/**
 * @version 1.0
 * @ ClassName UserService
 * <p> TODO
 * @ author JIMMY
 * @ Date 2020/10/21 0021 下午 10:33
 */
public class UserService {
    private UserDao userDao;
    private String msg;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public void  save(){
        System.out.println(msg);
        userDao.save();
    }
}
